﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.ETL.TaskProxy.Runtime
{
    public class AlarmRunMode : RunMode
    {
        public AlarmClockMode Mode { get; set; }

        public DateTime Clock { get; set; }

        public AlarmRunMode(AlarmClockMode mode, DateTime clock)
        {
            Mode = mode;
            Clock = clock;
        }
    }

    public enum AlarmClockMode
    {
        /// <summary>
        /// 每一年
        /// </summary>
        PreYear,
        /// <summary>
        /// 每一月
        /// </summary>
        PreMonth,
        /// <summary>
        /// 每一周
        /// </summary>
        PreWeek,
        /// <summary>
        /// 每一天
        /// </summary>
        PreDay,
    }
}
